home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
matrix.txt
< prev
next >
Wrap
Text File
|
1993-07-25
|
3KB
|
60 lines
From edwin@maui.cs.ucla.edu (Edwin Tisdale)
Newsgroups: comp.archives
Subject: [comp.lang.c++] The C++ Matrix class
Date: 10 Jul 1993 11:46:52 GMT
Archive-name: auto/comp.lang.c++/The-C-Matrix-class
I have updated The C++ Matrix class so that it will compile without complaint
with version 2.4.5 of the Gnu C++ compiler `g++'. It still compiles with
version 2.3.3 of the Gnu compiler and version 2.1 of Sun's `cfront' compiler
`CC'. It has been tested on Sun4 computers running SunOs 4.1.1, Sun4m
computers running SunOs 5.2, NeXT computers running Mach 3.0, Silicon Graphics
computers running IRIX 4.0.5 and 386 computers running Linux 0.99.10. Please
send me email if you have trouble installing on these or any other platforms.
The C++ Matrix class is available via anonymous ftp from `ftp.cs.ucla.edu'.
Get the compressed tarfile `pub/Matrix.tar.Z'. Uncompress `Matrix.tar.Z'.
Extract the `Matrix' directory from `Matrix.tar'. Then go to the `Matrix'
directory and type `make'. Now print and read the paper in `Matrix.dvi'.
In order to demonstrate an application of the \verb"Matrix" class,
it was used to implement the backward error propagation algorithm
for multi-layer, feed-forward artificial neural networks.
Enjoy, Bob Tisdale (edwin@cs.ucla.edu)
P.S. I hope the following notes will be helpful.
unix% ftp ftp.cs.ucla.edu
Name (ftp.cs.ucla.edu:your_login_ID): anonymous
Password: your_login_ID
ftp> cd pub
ftp> binary
ftp> get Matrix.tar.Z
ftp> bye
unix% uncompress Matrix.tar.Z
unix% tar xvf Matrix.tar
unix% cd Matrix
unix% make
unix% dvips Matrix | lpr
unix% mv ffnet.new ffnet.old
unix% cat ffnet.old ffnet.S | (backprop -v > ffnet.new) >>& ffnet.err
unix% cat ffnet.new ffnet.S | evaluate | graph -m 0 | plot
Note: ftp.cs.ucla.edu is an alias for internet-address 131.179.128.36
If you have trouble, verify that the `SYS5' variable
in the `Matrix/src/genclass' shell script contains
the path to the System V version of the `m4' macro
pre-processor.
The `fig2dev' program is part of the `transfig' package
available via anonymous ftp from `ftp.cs.cornell.edu'.
Get `pub/transfig/transfig.tar.Z'.
The EPIC style file is available via anonymous ftp from
`ymir.claremont.edu'. Get `tex/inputs/latex-contrib/epic.sty'.
File `pub/Matrix.sun.tar.Z' includes all the files created by
`make' on UCLA CSD Sun4 computers. It may be useful to Sun
computer users or those who just want to print the documentation.